<%- layout('backend/layout/default') %>
    <div class="page" id="Page">
        <div class="page-header">
            <ol class="breadcrumb">
                <li><a href="/backend">首页</a></li>
                <li><a href="/backend/positions">职位信息</a></li>
                <li class="active"><a href="#">新增职位</a></li>
            </ol>
            <h2>新增职位</h2>
        </div>
        <div class="page-content">
            <div class="content-container">
                <form class="validform form-horizontal" action="/backend/position/create" method="post" 
                data-operation="ajax" data-success-mode="redirect"
                data-error-mode="alert">
                    <div class="form-group">
                        <label class="col-lg-1 control-label">职位名称</label>
                        <div class="col-lg-6">
                            <input class="form-control" name="title" type="text" placeholder="职位名称" validate-rules="required">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-1 control-label">职位描述</label>
                        <div class="col-lg-6">
                            <textarea class="form-control" name="intro" placeholder="职位描述"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-lg-6 col-lg-offset-1">
                            <button type="reset" class="btn btn-default">重置</button>
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>